home *** CD-ROM | disk | FTP | other *** search
- on mouseUp me
- global gInit
- set s to the spriteNum of me
- set gInit to 1
- set the puppet of sprite s to 0
- puppetTransition(member "DefTranSalto")
- set n to the name of member the member of sprite s
- set nl to n & "link"
- set l to the mouseLine
- set ln to value(line l of field nl)
- if ln > 0 then
- go(label("SCH" & string(ln)))
- else
- beep()
- end if
- end
-
- on mouseUpOutSide me
- global gInit
- set s to the spriteNum of me
- set gInit to 1
- end
-
- on mouseWithin me
- global vaiok, linea
- set s to the spriteNum of me
- set theCast to the name of member the member of sprite s
- set ll to the number of lines in field theCast
- set l to the mouseLine
- if l > 0 then
- if l <> linea then
- hilite line l of field theCast
- set linea to l
- else
- nothing()
- end if
- else
- if linea > 0 then
- hilite line linea of field theCast
- set linea to 0
- end if
- end if
- end
-
- on mouseLeave me
- global linea
- set s to the spriteNum of me
- set theCast to the name of member the member of sprite s
- if linea > 0 then
- hilite line linea of field theCast
- set linea to 0
- end if
- end
-